package leader.action;

import teacher.bean.Teacher;

import com.opensymphony.xwork2.ActionContext;

public class ListShow {
	
	private int direction;
	
	public int getDirection() {
		return direction;
	}

	public void setDirection(int direction) {
		this.direction = direction;
	}

	public String execute()
	{
		Teacher tea=(Teacher)ActionContext.getContext().getSession().get("leader");
		this.setDirection(tea.getDirection());
		
		System.out.println("改管理员的方向为:"+tea.getDirection());
		return "succ";
	}
}
